package com.hblack.manage.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "page")
public class PageController {
	/**
	 * 根据访问路径访问响应页面
	 * @param pageName
	 * @return
	 */
	@RequestMapping(value = "{pageName}")
	public String toPage(@PathVariable("pageName") String pageName){
		return pageName;
	}
}
